import { herinRequist } from "../http.js";
// 登录
const Supermarket = {
	getNumberType() {
		return herinRequist({ url: '/app/market-count', method: 'GET' });
	},
	getTextList() {
		return herinRequist({ url: '/app/market-text', method: 'GET' });
	},
	getInventory(data) {
		return herinRequist({ url: '/app/market-inventory', method: 'GET', data});
	},
	getInventoryList() {
		return herinRequist({ url: '/app/market-type', method: 'GET'});
	},
	getChartList(data) {
		return herinRequist({ url: '/app/market-chart', method: 'GET' , data});
	}
}

export default Supermarket;
